<template>
  <div>
      <img src="xiang/1.webp" alt="">
 <div id="shadow">
   <p>
     查看套装详情
     <img src="xiang/2.png" alt="">
   </p>
 </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
 img{
  width: 100%;
  height: 3.5rem;
}
#shadow{
    width: 100%;
    height: 0.45rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    box-sizing: border-box;
    bottom: 0;
}
#shadow p{
 width:1.5rem;
    height: 0.4rem; 
    border-radius: 0.4rem;
    line-height: 0.5rem;
    text-indent: 0.15rem;
    background-color: white;
    float: right;
    position: relative;
}
#shadow p img{
  width:0.3rem;
    height: 0.3rem; 
    position: absolute;
    top: 0.05rem;
    right: 0.1rem;
  
}
</style>